
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
[#include "/webpage/common/common_css.html"/]
<body>
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td height="30">
    <table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="15" height="30"><img src="${cache}/images/tab_03.gif" width="15" height="30" /></td>
        <td width="1101" background="${cache}/images/tab_05.gif">
        <img src="${cache}/images/311.gif" width="16" height="16" /> 
		    <span class="STYLE4">${title}</span></td>
        <td width="281" background="${cache}/images/tab_05.gif" style="text-align:right;cursor:pointer" 
             onclick="location.href='${base}/bankInfo.do';" 
         >
              <img src="${cache}/images/002.gif" width="14" height="14" />
              <label style="font-size:12px;">返回</label>
        </td>
        <td width="14"><img src="${cache}/images/tab_07.gif" width="14" height="30" /></td>
      </tr>
    </table>
	</td>
  </tr>
  <tr>
    <td>
	   <table width="100%" border="0" cellspacing="0" cellpadding="0" >
       <tr style="height:20px;">
        <td width="9" background="${cache}/images/tab_12.gif">&nbsp;</td>
        <td bgcolor="#f3ffe3" style="width:20%"></td>
        <td bgcolor="#f3ffe3" ></td>
        <td width="9" background="${cache}/images/tab_16.gif">&nbsp;</td>
      </tr>
      <tr>
        <td width="9" background="${cache}/images/tab_12.gif">&nbsp;</td>
         <td bgcolor="#f3ffe3" style="width:10%"></td>
        <td bgcolor="#f3ffe3">    
                  <table style="width:100%;font-size:12px;" cellspacing="5px" cellpadding="5px" id="bankTable">
                       <input type="hidden" name="bankInfo*id"  value="${bankInfo.id!}" /> 
                       <input type="hidden"   name="bankInfo*logo"  id="bankLogoIn" value="${bankInfo.logo!}"/>
                       <tr>
                          <td style="text-align:right">银行名称:</td>
                          <td style="text-align:left">
                            <input name="bankInfo*name"  value="${bankInfo.name!}" id="bankName"/>
                          </td>
                       </tr>
                        <tr>
                          <td style="text-align:right">银行logo:</td>
                          <td style="text-align:left">
                              <form id="bankInfoForm"
                                method="post" enctype="multipart/form-data" action="${base}/uploadFile.do?dir=img"
                                  >
                              <img src="${cache}/upload/${bankInfo.logo!}" id="bankLogoImg" style="width:140px;height:50px" />
                              <input type="file" name="bankLogo" id="bankLogo" style="width:70px" onchange="uploadBankInfo()"></input>
                              </form>
                          </td>
                       </tr>
                       <tr>
                          <td style="text-align:right">银行地址:</td>
                          <td style="text-align:left">
                              <input name="bankInfo*home" value="${bankInfo.home!}" id="bankHome"/>
                          </td>
                       </tr>
                        <tr>
                          <td style="text-align:right">序列:</td>
                          <td style="text-align:left">
                               <input name="bankInfo*seq" value="${bankInfo.seq!}" id="bankSeq"/>
                          </td>
                       </tr> 
                       <tr>
                          <td style="text-align:right">状态:</td>
                          <td style="text-align:left">
                               <select name="bankInfo*status">
                                   <option value="Y"
                                        [#if bankInfo.status?exists&&bankInfo.status=="Y"]selected[/#if]
                                   >启用</option>
                                   <option value="N"
                                   [#if bankInfo.status?exists&&bankInfo.status=="N"]selected[/#if]
                                   >停用</option>
                               </select>
                          </td>
                       </tr> 
                        <tr style="height:15px;">
                          <td colspan="2">
                          </td>
                       </tr> 
                        <tr>
                          <td style="width:15%"></td>
                          <td>
                              <input type="button" value="保存" onclick="saveBankInfo()" />
                                &nbsp;&nbsp;
                               <input type="reset" value="重置"/>
                          </td>
                       </tr> 
                    </table>
        </td>
        <td width="9" background="${cache}/images/tab_16.gif">&nbsp;</td>
      </tr>
    </table>
    </td>
  </tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr height="30">
        <td width="15" >
        <img src="${cache}/images/tab_20.gif" width="15"   /></td>
        <td background="${cache}/images/tab_21.gif" style="text-align:center"> 
        </td>
        <td width="14"><img src="${cache}/images/tab_22.gif" width="14"  /></td>
      </tr> 
</table>
[#include "/webpage/common/common_js.html"/]
<script type="text/javascript" src="${cache}/js/bank/bankInfo.js"></script>
<script type="text/javascript" src="${cache}/js/map.js"></script>
<script type="text/javascript">
   var handlerurl="${base!}/${action!}";

</script>
</body>
</html>
